package Homework;
//浏览历史类
public class Log {
//浏览历史类属性   用户姓名  开始登录时间  退出登录时间
	private String name;
	private String startTime;
	private String endTime;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public Log(String name, String startTime, String endTime) {
		super();
		this.name = name;
		this.startTime = startTime;
		this.endTime = endTime;
	}
	public Log() {
		super();
	}
	@Override
	public String toString() {
		return "用户名：" + name + ", 开始登录时间：" + startTime + ", 退出登录时间：" + endTime;
	}
}
